package org.nobody.mallb2c.mallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.nobody.common.utils.PageUtils;
import org.nobody.mallb2c.mallproduct.entity.AttrGroupEntity;
import org.nobody.mallb2c.mallproduct.vo.AttrGroupWithAttrsVo;
import org.nobody.mallb2c.mallproduct.vo.SpuItemAttrGroupVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author fancier
 * @email fancier2093@gmail.com
 * @date 2020-07-30 16:25:27
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

  PageUtils queryPage(Map<String, Object> params);

  PageUtils queryPage(Map<String, Object> params, Long catelogId);

  List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);

  List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long catalogId);
}

